<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>使用es模块构建vue3项目</title>
</head>
<body>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/3.2.31/vue.global.min.js"></script>
    <div id="app">
        <todo v-for="data in db" :data="data" />
    </div>
    <script type="module">
        import main from './main.js'
    </script>
</body>
</html>